package cn.kgc.smbms.mapper;

import cn.kgc.smbms.pojo.Role;

import java.util.List;

public interface RoleMapper {
    //查询全部角色
    List<Role> selectAllRole();

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}